@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500&display=swap');

body {
  background-image: url("../Images/quizapp_background.jpg");
  font-family: 'Cormorant Garamond', serif;
}

.box {
  height: 100vh;
}

.quiz-container {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px 2px rgba(100, 100, 100, 0.1);
  width: 600px;
  overflow: hidden;
}

.quiz-header {
  padding: 30px;
}

h2 {
  padding: 20px 10px;
  font-size: 30px;
  margin-bottom: 30px;
}

ul {
  list-style-type: none;
  padding-left: 20px;
}

ul li {
  font-size: 20px;
  margin: 5px 0;
}

ul li label {
  cursor: pointer;
}

button {
  background-color: #8e44ad;
  color: #fff;
  border: none;
  display: block;
  width: 100%;
  cursor: pointer;
  font-size: 20px;
  font-family: inherit;
  padding: 20px;
}

button:hover {
  background-color: #732d91;
}

button:focus {
  outline: none;
  background-color: #5e3370;
}

.meter {
  height: 20px;
  position: relative;
  box-shadow: inset 0 -1px 1px rgba(255, 255, 255, 0.7);
  background-color: #9c9c9c;
}

.meter > span {
  width: 0%;
  background-image: linear-gradient(to right, #8e44ad, #732d91, #5e3370);;
  height: 100%;
  transition: width 0.4s linear;
}

@media (max-width: 500px) {
  .quiz-header {
    padding: 15px;
  }
  h2 {
    padding: 20px 0px;
  }
}

@media (max-width: 400px) {
  h2 {
    font-size: 25px;
  }
  ul {
    padding-left: 10px;
  }
}